package com.weiyi.weiman.domain.Const;

/**
 * @Author zhang
 * @Date 2021/5/10 下午8:07
 * @Description 用户信息常量类
 * @Version 1.0
 **/
public class UserConst {

    //用户信息的redis前缀
    public static final String USER_DETAIL = "user_detail_";
    //用户已经购买章节的redis前缀
    public static final String USER_BUY_PRE = "user_purchased_";
    //用户历史记录章节redis前缀
    public static final String USER_BROWSE_PRE = "user_browse_";
    //历史记录保存的有效时间,以天为单位
    public static final Integer USER_BROWSE_EXPIRE = 30;
    //用户收藏漫画列表的redis前缀
    public static final String USER_COLLECT_PRE = "user_collect_";
    //用户取消收藏漫画列表的redis前缀
    public static final String USER_CANCEL_COLLECT = "deleted_collect_";
    //用户行为日志的redis前缀
    public static final String USER_LOG_PRE = "user_log_";
    //用户余额的redis前缀
    public static final String USER_BALANCE_PER = "user_balance_";
}
